include_directories(crow/include)

message(${CMAKE_SOURCE_DIR}/crow/cmake/)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/server/crow/cmake/)
find_package(Tcmalloc)
find_package(Threads)

#if (MSVC)
#    set(Boost_USE_STATIC_LIBS "On")
#    find_package( Boost 1.52 COMPONENTS date_time filesystem system thread regex REQUIRED )
#else()
#    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++1y")
#    find_package( Boost 1.52 COMPONENTS date_time filesystem system thread REQUIRED )
#endif()

#include_directories( ${Boost_INCLUDE_DIR} )

set(PROJECT_INCLUDE_DIR
        ${PROJECT_SOURCE_DIR}/server/crow/include
        )

include_directories("${PROJECT_INCLUDE_DIR}")
include_directories("${PROJECT_SOURCE_DIR}")



add_executable(testServer.bin testServer.cpp )
target_link_libraries(testServer.bin ${LIBS}) 
